package com.lin.service;

//import com.alibaba.fastjson.JSONObject;
import io.netty.channel.ChannelHandlerContext;
import org.codehaus.jettison.json.JSONException;
import com.alibaba.fastjson.JSONObject;
public interface ChatService {

    public void register(JSONObject param, ChannelHandlerContext ctx) throws JSONException;

    public void singleSend(JSONObject param, ChannelHandlerContext ctx) throws JSONException;

    public void FileMsgSingleSend(JSONObject param, ChannelHandlerContext ctx) throws JSONException;

    public void remove(ChannelHandlerContext ctx);

    public void typeError(ChannelHandlerContext ctx);

}
